#include<bits/stdc++.h>
#define int long long

using namespace std;

signed main(){
    freopen("arena.in","r",stdin);
    freopen("arena.out","w",stdout);
    ios::sync_with_stdio(false);
    cin.tie(0);cout.tie(0);
    cout<<"5\n19\n7\n1\n";
    return 0;
}